FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wengzhonghui4@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /apps
WORKDIR /apps
EXPOSE 6028
ADD ./target/coder-api.zip ./
RUN unzip ./coder-api.zip
RUN rm -rf ./coder-api.zip

CMD ["/apps/coder-api/bin/start.sh"]
